package com.sirdc.modules.sys.web.echart;

import net.huashitong.Project.entity.NewProjects;
import net.huashitong.Project.filter.NewProjectsFilter;
import net.huashitong.Project.service.NewProjectsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.util.List;
import java.util.Map;

/**
 * Created by hyp1202 on 2018/7/27.
 */
@Controller
@RequestMapping(value = "/echart")
public class EchartController {

    @Autowired
    private NewProjectsService newProjectsService;

    @ResponseBody
    @RequestMapping(value = "/IndustryCategory")
    public Map<String,Object> IndustryCategory(){
        Map<String,Object> map = newProjectsService.queryIndustryInfo();
        return map;
    }
}
